package com.bsb.base.common.util;

import java.lang.reflect.InvocationTargetException;

import org.apache.commons.beanutils.BeanUtilsBean;

public class BeanUtils extends org.apache.commons.beanutils.BeanUtils{
	 public static void copyProperties(Object dest, Object orig){
		        
		        try {
					BeanUtilsBean.getInstance().copyProperties(dest, orig);
				} catch (IllegalAccessException e) {
					e.printStackTrace();
				} catch (InvocationTargetException e) {
					e.printStackTrace();
				}
		    }
}
